﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../Shared/Site.master" Inherits="System.Web.Mvc.ViewPage<PageInput>" %>
<%@ Import Namespace="ECube.Web.CMS.Extensions" %>
<%@ Import Namespace="ECube.Web.CMS.Models" %>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <div class="sections">
        <div class="lone post addPost" id="page">
            <%using(Html.BeginForm()){ %>
            <% Html.RenderPartialFromSkin("EditMeta"); %>
            <div><button type="submit" class="ui-button ui-state-default ui-corner-all"><%= Html.Localize("Save")%></button> </div>
            <%}%>
        </div>
    </div>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="HeadCssFiles"><%
    Html.RenderCssFile("jquery.css");
    Html.RenderCssFile("markitup/skins/simple/style.css");
    Html.RenderCssFile("markitup/sets/html/style.css"); %>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="ScriptVariablesPre">
    <script type="text/javascript">
        window.__getDateTimePath = "<%=Url.GetDateTime() %>";
        window.__markitupPreviewTemplatePath = "<%=Url.CssPath("markitup/templates/preview.html", ViewContext) %>";
        window.__markitupPreviewCssPath = "<%=Url.CssPath("base.css", ViewContext) %>";
    </script>
</asp:Content>
<asp:Content ContentPlaceHolderID="Title" runat="server">
    <%=Html.PageTitle(Html.Localize("Admin"), Html.Localize("Page.Add", "New Page"))%>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Scripts"><%
    Html.RenderScriptTag("base.js");
    Html.RenderScriptTag("markitup/jquery.markitup.js", "markitup/jquery.markitup.pack.js"); %>
</asp:Content>